/*******************************************************************************
 * Copyright (c) 2011 Olexandr V. Shaposhnikov.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Olexandr V. Shaposhnikov - initial API and implementation and/or initial documentation
 *******************************************************************************/
package com.funkyroach.use.core.ast.expr;

import org.eclipse.dltk.ast.ASTNode;
import org.eclipse.dltk.ast.expressions.MethodCallExpression;

import com.funkyroach.use.core.ast.USPointedExpression;
import com.funkyroach.use.core.parser.USToken;

public class USMethodCallExpression extends MethodCallExpression {

    private USPointedExpression pointedExpression;

    public USMethodCallExpression(ASTNode receiver, USToken identifier, USCallArgumentsList args) {
        super(identifier.getStartOffset(), identifier.getEndOffset(), receiver, identifier.getText(), args);
    }

    public USPointedExpression getPointedExpression() {
        return pointedExpression;
    }

    public void setPointedExpression(USPointedExpression pointedExpression) {
        this.pointedExpression = pointedExpression;
    }

}
